home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / ask_new.arc / ASK.DOC < prev   
Text File  |  1985-08-27  |  2KB  |  49 lines

  1.  
  2.  
  3.  
  4.                                  ASK_NEW     
  5.      
  6.      
  7.      I have gotten a great deal of use from the batch utility ASK.COM,
  8.      but have very long batch files with many options due to the many 
  9.      configurations I use.  Sometimes ASK.COM will appear as many as 
  10.      8 or 9 times in my .BAT files.  Everyone owning an IBM PC (AT&T 
  11.      owners can smile now!) knows how slow batch files are unless the
  12.      FOR IN DO construct is used (awkward if not impossible with ASK.COM).
  13.      I got tired of waiting for each question to hit the keys - I already
  14.      know all the questions and their respective answers, but ASK.COM
  15.      clears the keyboard buffer before waiting for a keypress.  The 
  16.      version of ASK.COM in this ARChive has been patched to get rid of
  17.      that annoying and almost useless keyboard buffer purge.  The patch 
  18.      here can be imlpemented using DOS 2.xx or later version of DEBUG.
  19.       
  20.      *(cr) is ENTER key!
  21.      
  22.      
  23.      DEBUG ASK.COM (cr)
  24.                                              (U)nassemble code at CS:0136
  25.      U 136 (cr)                     <<<<<<<< First two instr.> MOV  AH,0C
  26.                                              should be >>>>>>> MOV  AL,07
  27.      A 136 (cr)                     <<<<<<<< (A)ssemble code at CS:0136...
  28.      
  29.      NOP (cr)                       <<<<<<<< These NOPs kill MOV  AH,0C
  30.      
  31.      NOP (cr)
  32.      
  33.      MOV AH,07 (cr)                 <<<<<<<< Replace  MOV AL,07 with this
  34.      
  35.      (cr)                           <<<<<<<< Stop assembling now
  36.      
  37.      W (cr)                         <<<<<<<< (W)rite the modification
  38.      
  39.      Q (cr)                         <<<<<<<< (Q)uit DEBUG
  40.      
  41.  
  42.  
  43.                                     Bradley A. Berson
  44.                                     B.A.B. Enterprises
  45.                                     August 27th, 1985
  46.  
  47.  
  48.  
  49.